package com.hmsg.health.utils;

public class ApiResponseException extends RuntimeException {
	private static final long serialVersionUID = 2186957811943999230L;
	private ApiResponse apiResponse;

	public ApiResponse getApiResponse() {
		return apiResponse;
	}

	public ApiResponseException(ApiResponse apiResponse) {
		super(apiResponse.getMessage());
		this.apiResponse = apiResponse;
	}
}
